How to name materials in Keyshot so they are automatically applied when importing from NX? If it is possible it will save me humongous amount of time.
I’m not entirely sure what you want, you mean if you import something you want it to pick the right materials from the default material library? If so I think you can name materials exactly as they are named in KS and on import you select ‘Apply materials from Library to matching source names’
Basically those materials can be default materials or ones you have created.
I’m not sure how NX names materials but I think a lot of CAD software just names it color001 color002 etc. And that doesn’t actually say anything about what kind of material it is, just a color.
It depends a bit on your workflow and models what’s the best way I think. I would say renaming the items in NX is the best way since the default color names are not really descriptive about the kind of material.
But if you’ve 100 NX models and color001 for example is always brushed metal than it might be easier to create a material in the KS library with the name color001.
in NX we have standard ISO material names that have material properties, color is separate attribute. will Keyshot ‘Apply materials from Library to matching source names’ if i copy default material to new folder and name them with ISO names?
Also NX have 256 colors in pallet, there is more materials than colors so color codes are not valid solution. This is why I am asking how to transfer material (not color) from NX to Keyshot.
I think it should work that way. But before you do 100’s of materials I would just try a few to check how it works.
Maybe it’s also possible to program a python script which would automatically translate/creates materials in the library on import. Based on for example a big table/array where iso names are described. But I’ve no experience with such workflow but can imagine it might be possible.
Hey Ivan,
I suggest you try to import a file as you normally would.
Then take a look at the Material names that get applied. Those are the ones that it will try to match in your library.
Be aware that certain import settings(e.g. Separate materials by part) will change the naming and impact the outcome
Alternatively you can create a manual material template and map any NX material name to a Material in your library. You can have that be applied automatically by enabling it in the import settings.
If you need more control or more advanced logic, Oscars suggestion of using a script would be the best solution.
it does not work as expected, that is why I am asking if it works at all like that or i was doing something wrong.
My usual work is in Teamcenter NX, but I tried from native NX also and no matter how setting are selected no material is automatically applied on import (either import button in Keyshot or Render button in NX).
How to contact developers to ask them if this should work or it is not part of import tool.
I would just open a support ticket and explain the problem. Normally I’d like to install trials to see if I can get it right but Siemens NX is huge and I’m on a mobile connection so support ticket is faster I hope.